package com.shadow.mall.fulfill.remote;


import com.shadow.mall.common.core.JsonResult;
import com.shadow.mall.fulfill.exception.FulfillBizException;
import com.shadow.mall.wms.api.WmsApi;
import com.shadow.mall.wms.domain.PickDTO;
import com.shadow.mall.wms.domain.PickGoodsRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * wms服务远程接口
 *
 *
 * @version 1.0
 */
@Component
@FeignClient("shadow-mall-wms")
public interface WmsService {



    /**
     * 捡货
     */
    @RequestMapping("/wms/pickGoods")
    JsonResult<PickDTO> pickGoods(PickGoodsRequest request);

    /**
     * 取消捡货
     */
    @RequestMapping("/wms/cancelPickGoods")
    JsonResult<Boolean> cancelPickGoods(String orderId);

}
